﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools.Core.Entities;

namespace Tools.Services.Interfaces
{
    public interface IMailMessageService
    {
        Task<MailMessage> GetMessageAsync(int id);
        Task CreateMessageAsync(MailMessage message);
        Task DeleteMessageAsync(int id);
        Task UpdateMessageAsync(MailMessage message);
        Task<IEnumerable<MailMessage>> GetAllMessagesAsync();
    }
}
